<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="dwz" uri="http://www.lyjuan.cn/dwz/tags" %>

<div class="pageContent">
    <form method="post" action="<dwz:url url="group/updateGroup"/>" class="pageForm"
          onsubmit="return validateCallback(this, customDialogAjaxDone(true, 'mgteacher_teacherList'));">
        <div class="pageFormContent" layoutH="58">
            <!-- 请求编号 -->
            <input type="hidden" name="id" value="${group.id}"/>
            <p >
                <label>名称：</label>
                <input type="text" name="name" class="required" value="${group.name}" tabindex="1"
                       style="width:200px;"/>
            </p>
            <p  id="sortUnit">
                <label>排序：</label>
                <input type="text" name="sort" value="${group.sort}" class="required"/>
            </p>
            <p >
                <label>状态：</label>
                <input type="radio" name="status" value="1" id="status_normal"
                       <c:if test="${group.status == 1}">checked="checked"</c:if>/>
                <span onclick="$(this).parents('form:first').find('#status_normal').click();">正常</span>&nbsp;&nbsp;
                <input type="radio" name="status" value="0" id="status_lock"
                       <c:if test="${group.status == 0}">checked="checked"</c:if>/>
                <span onclick="$(this).parents('form:first').find('#status_lock').click();">锁定</span>
            </p>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">提交</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>

</div>